#!/usr/bin/python
# -*- coding: utf-8 -*-
#####################################
# File name : etc_uav_anti_tank.py
# Create date : 2020-01-07 03:28
# Modified date : 2020-04-30 10:21
# Author : DARREN
# Describe : not set
# Email : lzygzh@126.com
#####################################


from pathlib import Path
# import torch

app_abspath = Path(__file__).parent.parent
# USE_CUDA = torch.cuda.is_available()
USE_CUDA = False
# device = torch.device("cuda" if USE_CUDA else "cpu")


#######################
SERVER_IP = "127.0.0.1"
SERVER_PORT = 6060
PLATFORM = "windows"  # windows linux
SCENARIO_NAME = "heli_anti_sub.scen"  # 直升机反潜想定
SIMULATE_COMPRESSION = 4  # 推演档位
# SYNCHRONOUS = True # True同步, False异步
DURATION_INTERVAL = 150

target_radius = 50000.0
target_name = "PL-636.3“阿尔罗萨级”柴电潜艇"

task_end_point = {
    "latitude": 43.4874,
    "longitude": 34.1755,
}

control_noise = True
#######################

#######################
MAX_EPISODES = 5000
MAX_BUFFER = 1000000
MAX_STEPS = 30
#######################

#######################
TMP_PATH = app_abspath / SCENARIO_NAME / "tmp"
OUTPUT_PATH = app_abspath / SCENARIO_NAME / "output"
MODELS_PATH = OUTPUT_PATH / "Models"
#######################


TRANS_DATA = True
APP_MODE = 1
MOZI_PATH = "E:\\programs\\mozi\\Mozi\\MoziServer\\bin\\MoziServer.exe"
SYNCHRONOUS = True
